package com.marvels.system.permission.dao;

import org.apache.ibatis.annotations.Param;

public interface AccessBarredIpMapper {

	/**
	 * 插入连续登陆登录失败超限
	 * @return
	 */
	int insertLoginTransfinite(@Param("maxNum") Integer maxNum);
	
	/**
	 * 查询是否存在受限IP
	 * @param ip
	 * @return
	 */
	int selectAccessBarredIp(String ip);
}
